import Vue from "vue";

export const wsObj = new Vue({
    data: {
        isWsConnect: false,
        isBusWsConnect: false,
    },
    methods: {
        setIsWsConnect(val) {
            this.isWsConnect = val;
        },
        getIsWsConnect() {
            return this.isWsConnect;
        },
        setIsBusWsConnect(val) {
            this.isBusWsConnect = val;
        },
        getIsBusWsConnect() {
            return this.isBusWsConnect;
        },
    },
});
